libmyc.a:mystdio.o mystring.o
	ar -rc $@ $^
%.o:%.c
	gcc -c $<

.PHONY:output
output:
	mkdir lib/include -p
	mkdir lib/mylib -p
	cp *.h lib/include -r
	cp *.a lib/mylib -r
	tar czvf lib.tgz lib
.PHONY:clean
clean:
	rm -rf *.o *.a lib*
